<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "{{%browser}}".
 *
 * @property integer $id
 * @property string $browser
 * @property integer $class
 * @property string $description
 * @property string $last_update
 */
class Browser extends \app\models\BaseAR
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%browser}}';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['class'], 'integer'],
            [['last_update'], 'safe'],
            [['browser', 'description'], 'string', 'max' => 50]
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'browser' => 'Browser',
            'class' => 'Class',
            'description' => 'Description',
            'last_update' => 'Last Update',
        ];
    }
}
